package com.example.car.volley.request;

import org.json.JSONException;
import org.json.JSONObject;

import com.example.car.manager.Constants;

public class getRegistRequest extends Request {
	String mobile;
	String password;
	String rand;
	public getRegistRequest(String mobile,String password,String rand) {
		super(Constants.REGISTER);
		this.mobile=mobile;
		this.password=password;
		this.rand=rand;
	}

	@Override
	public void extentionObject(JSONObject json) {
		try {
			json.put("mobile",mobile);
			json.put("password", password);
			json.put("rand",rand);
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
